package com.ruoyi.place.domain.bo;

import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 易制毒场所业务对象 place_ezd
 *
 * @author xiaohao
 * @date 2023-01-19
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class PlaceEzdBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = {EditGroup.class})
    private Long ezdId;

    /**
     * 单位（地区）
     */
    @NotBlank(message = "单位（地区）不能为空", groups = {AddGroup.class, EditGroup.class})
    private String dwdq;

    /**
     * 易制毒场所地址
     */
    @NotBlank(message = "易制毒场所地址不能为空", groups = {AddGroup.class, EditGroup.class})
    private String yzdcsdz;

    /**
     * 责任人
     */
    @NotBlank(message = "责任人不能为空", groups = {AddGroup.class, EditGroup.class})
    private String fzr;

    /**
     * 账号状态
     */
    private String zhzt;

    /**
     * 冻结/解冻审核状态
     */
    private String djjdshzt;


}
